package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 比赛对象 wx_game
 * 
 * @author ruoyi
 * @date 2022-03-27
 */
public class WxGame extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String bannerUrl;

    /** 0 轮播图 1 置顶的 2 普通的 */
    @Excel(name = "0 轮播图 1 置顶的 2 普通的")
    private Integer bannerSort;

    /** 左边队伍名称 */
    @Excel(name = "左边队伍名称")
    private Integer teamLeftId;

    /** 右边队伍名称 */
    @Excel(name = "右边队伍名称")
    private Integer teamRightId;

    /** 获胜方id */
    @Excel(name = "获胜方id")
    private Integer winner;

    /** 比分 */
    @Excel(name = "比分")
    private Integer scoreId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String gameIcon;

    /** 标题 */
    @Excel(name = "标题")
    private String gameTitle;

    /** 内容 */
    @Excel(name = "内容")
    private String gameContent;

    /** 比赛外链 */
    @Excel(name = "比赛外链")
    private String gameHref;

    /** 预测数 */
    @Excel(name = "预测数")
    private Integer orderNum;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gameTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBannerUrl(String bannerUrl) 
    {
        this.bannerUrl = bannerUrl;
    }

    public String getBannerUrl() 
    {
        return bannerUrl;
    }
    public void setBannerSort(Integer bannerSort) 
    {
        this.bannerSort = bannerSort;
    }

    public Integer getBannerSort() 
    {
        return bannerSort;
    }
    public void setTeamLeftId(Integer teamLeftId) 
    {
        this.teamLeftId = teamLeftId;
    }

    public Integer getTeamLeftId() 
    {
        return teamLeftId;
    }
    public void setTeamRightId(Integer teamRightId) 
    {
        this.teamRightId = teamRightId;
    }

    public Integer getTeamRightId() 
    {
        return teamRightId;
    }
    public void setWinner(Integer winner) 
    {
        this.winner = winner;
    }

    public Integer getWinner() 
    {
        return winner;
    }
    public void setScoreId(Integer scoreId) 
    {
        this.scoreId = scoreId;
    }

    public Integer getScoreId() 
    {
        return scoreId;
    }
    public void setGameIcon(String gameIcon) 
    {
        this.gameIcon = gameIcon;
    }

    public String getGameIcon() 
    {
        return gameIcon;
    }
    public void setGameTitle(String gameTitle) 
    {
        this.gameTitle = gameTitle;
    }

    public String getGameTitle() 
    {
        return gameTitle;
    }
    public void setGameContent(String gameContent) 
    {
        this.gameContent = gameContent;
    }

    public String getGameContent() 
    {
        return gameContent;
    }
    public void setGameHref(String gameHref) 
    {
        this.gameHref = gameHref;
    }

    public String getGameHref() 
    {
        return gameHref;
    }
    public void setOrderNum(Integer orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() 
    {
        return orderNum;
    }
    public void setGameTime(Date gameTime) 
    {
        this.gameTime = gameTime;
    }

    public Date getGameTime() 
    {
        return gameTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bannerUrl", getBannerUrl())
            .append("bannerSort", getBannerSort())
            .append("teamLeftId", getTeamLeftId())
            .append("teamRightId", getTeamRightId())
            .append("winner", getWinner())
            .append("scoreId", getScoreId())
            .append("gameIcon", getGameIcon())
            .append("gameTitle", getGameTitle())
            .append("gameContent", getGameContent())
            .append("gameHref", getGameHref())
            .append("orderNum", getOrderNum())
            .append("gameTime", getGameTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
